package com.hxzy.dto;

import io.swagger.annotations.ApiModel;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @author Administrator
 */
@ApiModel(value = "购物车减少数量")
@Getter
@Setter
@ToString
public class SubCartDTO {

    @NotNull(message = "商品ID不能为空")
    private  Long dishId;
    @NotNull(message = "商家ID不能为空")
    private  Long merchantId;
}
